package net.factoryOpen.quickfactory.manufacturing.ehs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全风险登记对象 ehs_hazard_record
 * 
 * @author factoryOpen
 * @date 2024-07-04
 */
public class EhsHazardRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 隐患描述 */
    @Excel(name = "隐患描述")
    private String hazardDesc;

    /** 隐患等级 */
    @Excel(name = "隐患等级")
    private String hazardLevel;

    /** 日期 */
    @Excel(name = "日期")
    private String day;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 责任人ID */
    @Excel(name = "责任人ID")
    private Long employeeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHazardDesc(String hazardDesc) 
    {
        this.hazardDesc = hazardDesc;
    }

    public String getHazardDesc() 
    {
        return hazardDesc;
    }
    public void setHazardLevel(String hazardLevel) 
    {
        this.hazardLevel = hazardLevel;
    }

    public String getHazardLevel() 
    {
        return hazardLevel;
    }
    public void setDay(String day) 
    {
        this.day = day;
    }

    public String getDay() 
    {
        return day;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hazardDesc", getHazardDesc())
            .append("hazardLevel", getHazardLevel())
            .append("day", getDay())
            .append("deptId", getDeptId())
            .append("employeeId", getEmployeeId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
